//
//  NEDFormItem+KVO.h
//  NEDFormView_Example
//
//  Created by 000 on 2022/1/7.
//  Copyright © 2022 000. All rights reserved.
//

#import "NEDFormItem.h"
#import "NEDFormContentItem.h"

typedef NS_OPTIONS(NSInteger, NEDFormReloadViewPosition) {
    NEDFormReloadViewPosition_None = 1<<0,
    NEDFormReloadViewPosition_Left = 1<<1,
    NEDFormReloadViewPosition_Right = 1<<2,
    NEDFormReloadViewPosition_Center = 1<<3,
    
    NEDFormReloadViewPosition_All = NEDFormReloadViewPosition_Left | NEDFormReloadViewPosition_Right | NEDFormReloadViewPosition_Center,
};

NS_ASSUME_NONNULL_BEGIN

typedef void(^_Nullable NEDFormContentChangeBlock)(NEDFormItem * sectionItem, NEDFormContentItem * contentItem);

@interface NEDFormItem()

/// 内容变化
@property (copy, nonatomic) void(^contentChangeBlock)(NEDFormItem * sectionItem, NEDFormReloadViewPosition position);

/// 视图映射Map的Key
- (NSString *)headerReuseIdentifier;

@end


NS_ASSUME_NONNULL_END
